<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Notes</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="mysqli.constants.html">« 预定义常量</a></li>
      <li style="float: right;"><a href="mysqli.summary.html">MySQLi 扩展的功能概述 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.mysqli.html">Mysqli</a></li>
    <li>Notes</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="mysqli.notes" class="chapter">
 <h1>Notes</h1>


 <p class="para">Some implementation notes:</p>

 <ol type="1">
  <li class="listitem">
   <p class="para">
     Support was added for <code class="literal">MYSQL_TYPE_GEOMETRY</code> 
     to the MySQLi extension in PHP 5.3.
   </p>
  </li>
  <li class="listitem">
   <p class="para">
     Note there are different internal implementations within 
     <code class="literal">libmysqlclient</code> and <code class="literal">mysqlnd</code> for handling 
     columns of type <code class="literal">MYSQL_TYPE_GEOMETRY</code>. Generally speaking, 
     <code class="literal">mysqlnd</code> will allocate significantly less memory. For 
     example, if there is a <code class="literal">POINT</code> 
     column in a result set, <code class="literal">libmysqlclient</code> may pre-allocate up 
     to 4GB of RAM although less than 50 bytes are 
     needed for holding a <code class="literal">POINT</code> column in memory. Memory 
     allocation is much lower, less than 50 bytes, if 
     using <code class="literal">mysqlnd</code>.
   </p>
  </li>
 </ol>

</div>
</div></div></body></html>